from google.appengine.ext import db
from google.appengine.ext.db import Model as DBModel


class Story(db.Model):
    site=db.StringProperty(default='')
    story_id=db.IntegerProperty(default=0)
    chapter_id_list = db.TextProperty(default='')
    click=db.IntegerProperty(default=0)

class StoryNameIdMapTable(db.Model):
    site=db.StringProperty(default='')
    story_name = site=db.StringProperty(default='')
    story_id=db.IntegerProperty(default=0)
    
class ChapterIdNameMapTable(db.Model):
    site=db.StringProperty(default='')
    chapter_id=db.IntegerProperty(default=0)
    chapter_name = site=db.StringProperty(default='')
    
class StoryLink(db.Model):
    site=db.StringProperty(default='')
    link=db.StringProperty(default='')
    
class ChapterLink(db.Model):
    site=db.StringProperty(default='')
    link=db.StringProperty(default='')
